package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.DbUserSign;
import com.example.ymm.modules1.query.DbUserSignQueryCriteria;

import java.util.List;

public interface DbUserSignService extends BaseService<DbUserSign> {


    TableList<DbUserSign> list(DbUserSignQueryCriteria criteria, YmPageDto ymPage);

    List<DbUserSign> queryAll(DbUserSignQueryCriteria criteria);


    /**
     * 增加一条起始签到日期
     * @param sign
     */
    void addStartUser(String userId,String userName,String day,String source);

}
